home *** CD-ROM | disk | FTP | other *** search
/ Aminet 6 / Aminet 6 - June 1995.iso / Aminet / util / cli / MemPri.lha / MemPri.doc < prev    next >
Encoding:
Text File  |  1993-08-18  |  2.2 KB  |  73 lines

  1.                                    MemPri
  2.  
  3.           Small utility to change the priority of any memory block
  4.                     By Barry McConnell, 17th August 1993
  5.  
  6.  
  7.  
  8. Distribution:
  9. ~~~~~~~~~~~~~
  10.  
  11. MemPri is Public Domain. Do what you like with it, but don't jump on me if it
  12. crashes your machine, wipes your hard drive, or otherwise inconveniences you.
  13. The source code is included in case its current incarnation does not quite
  14. meet your requirements.
  15.  
  16.  
  17. Requirements:
  18. ~~~~~~~~~~~~~
  19.  
  20. Any Amiga computer, with at least one block of memory. :-)  MemPri is really
  21. intended for people with accelerator cards and 32-bit memory, to allow you to
  22. load certain programs (e.g., your BBS system) into specific types of memory.
  23.  
  24.  
  25. Usage:
  26. ~~~~~~
  27.  
  28. With no arguments, MemPri gives information about the memory in your Amiga.
  29. It tells you the starting location of each memory board (in hex), the size
  30. (in K), the amount available (in K), the priority, and the name. As such, it
  31. is similar to the "avail" command, except you can easily see how much of a
  32. particular type of memory you have remaining ("avail" will group all your
  33. Fast RAM boards together).
  34.  
  35. If you give it two arguments, this tells it to change a certain memory block
  36. to a new priority. For example, if entering the command "MemPri" on its own
  37. gave you this output:
  38.  
  39.     MemPri by Barry McConnell
  40.  
  41.     Block     Address   Size      Free      Priority  Name
  42.     0         $1500000  2560      564        10       32Bit Fast Memory
  43.     1         $200000   2048      1585        0       expansion memory
  44.     2         $400      1023      660       -10       chip memory
  45.  
  46. ...then entering this command:
  47.  
  48.     MemPri 0 -5
  49.  
  50. ...would have the effect of lowering the "32Bit Fast Memory" down to a
  51. priority below the "expansion memory". This is best used in your
  52. Startup-sequence, say just before you launch a caching program, to ensure
  53. your valuable 32-bit memory does not get chewed up by the cache. Afterwards,
  54. you could enter:
  55.  
  56.     MemPri 1 10
  57.  
  58. ...to restore things back the way they were (as block 0 would have become
  59. "expansion memory", so block 1 is now the one you want to change).
  60.  
  61.  
  62. Contacting me:
  63. ~~~~~~~~~~~~~~
  64.  
  65. Snail Mail:    Barry McConnell,
  66.         "Piper's Hollow",
  67.         Hillcrest Road,
  68.         Dublin 18,
  69.         Ireland.
  70.  
  71. Internet:    bmccnnll@unix1.tcd.ie
  72. FidoNet:    2:263/150.2
  73.